using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DAL;
using DL;
/// <summary>
/// Summary description for ProductTypeBL
/// </summary>
namespace BL 
{
    public class ProductTypeBL  
    {
    	#region Private Variables
		ProductTypeDAL objProductTypeDAL;
		#endregion
		
        #region Public Constructors
        public ProductTypeBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objProductTypeDAL=new ProductTypeDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(ProductTypeDL objProductTypeDL)
        {
            return objProductTypeDAL.Insert(objProductTypeDL);
        }

        public int Update(ProductTypeDL objProductTypeDL)
        {
             return objProductTypeDAL.Update(objProductTypeDL);

        }

        public int Delete(ProductTypeDL objProductTypeDL)
        {
             return objProductTypeDAL.Delete(objProductTypeDL);

        }

         public int DeleteAll()
        {
             return objProductTypeDAL.DeleteAll();
        }

        public ProductTypeDL Select(ProductTypeDL objProductTypeDL)
        {
            return objProductTypeDAL.Select(objProductTypeDL);
        }

        public ArrayList SelectAll1( )
        {
         return objProductTypeDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objProductTypeDAL.SelectAll();
        }


     
#endregion          
    
    }

}
